package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.Department;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author ：ws
 * @date ：Created in 2023/10/23 23:30
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface DepartmentService {
    PaasPage<Department> getDepartmentPage(Pageable pageable, String departmentName,String statusCd);

    Department saveDepartment(Department department);

    Department getDepartmentBasicInfo(Long departmentId);

    void delDepartment(Long departmentId);

    Department updateDepartment(Long departmentId, Department department);

    List<Department> getDepartmentList(String departmentName, String statusCd);
}
